package edu.office.entities;

import io.quarkus.hibernate.orm.panache.PanacheEntityBase;
import jakarta.persistence.*;

/**
 * @author hgs
 */
@Entity
@Table(name = "WRONG_REASON")
public class WrongReason extends EntityCommon<WrongReason> implements Identifiable {

    @Id
    @Basic(optional = false)
    @Column(name = "ID")
    private Integer ID;
    @Column(name = "NAME", length = 10)
    private String NAME;

    public WrongReason() {
    }

    public WrongReason(Integer id) {
        this.ID = id;
    }


    public Integer getID() {
        return ID;
    }

    public void setID(Integer id) {
        this.ID = id;
    }

    public String getNAME() {
        return NAME;
    }

    public void setNAME(String name) {
        this.NAME = name;
    }

    @Override
    public String toString() {
        return this.NAME;
    }

}
